package edu.sctu.practice.class02.shuqiqi.test13;

import org.omg.CORBA.PUBLIC_MEMBER;

/**
 * Created by admin on 2015/10/18.
 */
public class Opration {
    int A, B, C;
    int a;
    int b;
    String c;
    String d;
    double D;

    public Opration(int a, int b) {

        if (a > b) {
            System.out.println(a);
        } else {
            System.out.println(b);
        }
    }

    public Opration(double A, double B, double C) {
        D = A * B * C;
        System.out.println(A + "*" + C + "*" + B + "=" + D);
    }

    public Opration(String c, String d) {

        if (c == d) {
            System.out.println("相同");
        } else {
            System.out.println("不同");
        }
    }

    public static void main(String[] args) {
        Opration opration1 = new Opration(12, 3);
        Opration opration2 = new Opration(13, 4, 5);
        Opration opration3 = new Opration("she", "my");


    }

}
